package business.misc
{
	import events.misc.UserMessageEvent;
	
	import flash.events.Event;
	
	import mx.controls.Alert;
	
	public class Alerter
	{
		public function Alerter()
		{
		}
		public function showError(evt:UserMessageEvent):void{
			Alert.show( evt.message, "Some errors occured", Alert.OK); 
		}
		public function showInfo(message:String):void{
			Alert.show( message, "Pay some attention", Alert.OK );
		}
		public function showSuccess(message:String):void{
			Alert.show( message, "Action success", Alert.OK );
		}
	}
}